package com.musicdaze.utils.schedule;

/**
 * This is a task that can be scheduled and
 * runs in its own thread.
 * @author mfujihara
 *
 */
public interface Task{
	/**
	 * Tells the task go
	 */
	public abstract void commence();
	/**
	 * Tells the task to end
	 */
	public abstract void end();
	/**
	 * gets the schedule for the task
	 * @return the schedule
	 */
	public abstract Schedule getSchedule();
}
